\documentclass{article}
\usepackage[UTF8]{ctex}
\usepackage{tikz,graphicx,subfig,tikz-qtree,caption,xcolor}
\begin{document}
	\begin{figure}[htp]
		\centering
		\begin{tikzpicture}
			
			% 同一个父亲的孩子锚定点间的距离 层间距离
			\begin{scope}[sibling distance=10pt, level distance=38pt] 
				\Tree[.\node(a1){Z};
				[.\node(b1){a};]
				[.\node(b2){A};]
				[.\node(b3){e};]
				[.\node(b4){B};
				[.\node(c3){a};]
				[.\node(c4){A};
				[.\node(d2){e};]
				]
				]
				]
			\end{scope}
			
		\end{tikzpicture}
		% \caption{赋值语句b:=a+2 * 5的语法树}
	\end{figure}
	
\end{document}
